using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace Blog.Repository;


/// <summary>
/// 员工附属部门
///</summary>
[SugarTable("ad_employee_organization")]
public class AdEmployeeOrganizationEntity: EntityAdd
{

    /// <summary>
    /// 主键Id
    ///</summary>
    [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
    public long Id { get; set; }
    
    /// <summary>
    /// 员工Id
    ///</summary>
    [SugarColumn(ColumnName = "EmployeeId")]
    public long EmployeeId { get; set; }
    
    /// <summary>
    /// 部门Id
    ///</summary>
    [SugarColumn(ColumnName = "OrganizationId")]
    public long OrganizationId { get; set; }
    }
